<%@page import="java.util.List"%>
<%@page import="cn.sxt.userscenter.users.pojo.AAdmins"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<table border="1">
		<tr>
			<td>id</td>
			<td>邮箱</td>
			<td>状态</td>
			<td>创建时间</td>
		</tr>
		<%
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			List adminsList = (List)request.getAttribute("adminsList");
			for(Iterator iterator = adminsList.iterator();iterator.hasNext();){
				AAdmins admins = (AAdmins)iterator.next();
		%>
		<tr>
			<td><%=admins.getId() %></td>
			<td><%=admins.getEmail() %></td>
			<td><%=admins.getStatusStr() %></td>
			<td><%=sdf.format(admins.getCreateTime()) %></td>
		</tr>
		<%
			}
		%>
	</table>
</body>
</html>